﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Uniforax.Core.Common
{
    public enum PosIdEnum
    {
        Default,
        UseLayer,
    }

    public struct PosId
    {
        public PosIdEnum Type { get; set; }
        public int LayerId { get; set; }

        public int X { get; set; }
    
        public int Y { get; set; }

        public PosId(int layerId, int x, int y)
        {
            Type = PosIdEnum.UseLayer;
            LayerId = layerId;
            X = x;
            Y = y;
        }

        public PosId(int x, int y)
        {
            Type = PosIdEnum.Default;
            X = x;
            Y = y;
        }


    }
}
